﻿@model HelloMinasan.Web.Song.ViewModels.UserSearchModel
@{
    ViewBag.Title = "User Management";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>User Management</h2>
@using (Html.BeginForm("GridviewPatial","AdminUsers",FormMethod.Post)) {
    <div style="width: 400px;">
        <div style="width: 80px; float: left; margin-top: 10px;">@Html.LabelFor(n => n.UserName, new { @style="Width: 100px;"})</div>: @Html.TextBoxFor(n => n.UserName)
    </div>        
    <div style="clear:both;width: 400px;">
        <div style="width: 80px; float: left; margin-top: 10px;">@Html.LabelFor(n=>n.DisplayName, new { @style="Width: 100px;"})</div>: @Html.TextBoxFor(n => n.DisplayName)
    </div>
    <div  style="width: 400px;">
        <div style="width: 80px; float: left; margin-top: 10px;">@Html.LabelFor(n=>n.Email, new { @style="Width: 100px;"})</div>: @Html.TextBoxFor(n => n.Email) 
    </div>  
    <div style="margin-top: 10px; margin-left: 0px;">
        <input type="submit" id="btnSearch" name="btnSearch" value="Search" style="margin-left:0px;"/>
    </div>
    
    @Html.Partial("GridviewPatial")
}